import request from "@/api/request"

// 删除商品
function deleteAction(data){
    return request({
        url:"/cart/deleteAction",
        method:"get",
        data
    })
}
//购物车列表
function cartList(data){
    return request({
        url:'/cart/cartList',
        method:'get',
        data
    })
}
//添加购物车
function addCart(data){
    return request({
        url:'/cart/addCart',
        method:'post',
        data
    })
}


export {
    deleteAction,
    cartList,
    addCart
}
